builder: Allow <constant> without a type
authorBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2019 07:04:24 +0000 (08:04 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:44 +0000 (19:26 -0400)
commit448a88e4f5dc2117a1e2aa4de5a10abbe57b1587
tree9f376c7de7414e43e2a68773d4ca68994df08068
parented22af50bca0c82e0b107382dbef6e51f2bf0477
builder: Allow <constant> without a type

A constant without a type is assumed to be an object. This is the most
common case and allows
  <constant>foo</constant>
without requiring updates to the type whenever the foo object changes.
gtk/gtkbuilderparser.c